package com.example.resourceSharingPlatform.entity;

public class Item {
    private int id;//primary key
    private String name;//could be the same
    private String type;
    private String owner_id;//the id of its owner
    private String borrow_state;//the state whether it's borrowed or not
    private String check_state;//checked or not
    private String description;
    private String picture;//the url of its picture
    private double price;
    private String valuation;//the way to calculate its price(day/ week/ month)

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOwner_id() {
        return owner_id;
    }

    public void setOwner_id(String owner_id) {
        this.owner_id = owner_id;
    }

    public String getBorrow_state() {
        return borrow_state;
    }

    public void setBorrow_state(String borrow_state) {
        this.borrow_state = borrow_state;
    }

    public String getCheck_state() {
        return check_state;
    }

    public void setCheck_state(String check_state) {
        this.check_state = check_state;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getValuation() {
        return valuation;
    }

    public void setValuation(String valuation) {
        this.valuation = valuation;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

}
